<template>
	<view class="train-detail data-v-3c59eb11">
	    <view class="scroll-wrap data-v-3c59eb11">
	        <view class="data-v-3c59eb11" style="flex-direction:column;flex:1;">
	            <view class="head_cotent data-v-3c59eb11">
	                <image class="head_image data-v-3c59eb11" mode="widthFix" src="{{imgUrl.scheme_bg}}"></image>
	                <view class="data-v-3c59eb11" style="margin-top:0rpx;padding-left:42rpx;flex-direction:column;">
	                    <view class="BebasNeueBold data-v-3c59eb11" style="margin-top:30rpx;align-items:center;">
	                        <text class="data-v-3c59eb11" style="font-size:42rpx;color:#1a1a1a;font-weight:bold;">已训练</text>
	                        <text class="data-v-3c59eb11" style="font-size:42rpx;color:#e83229;font-weight:bold;">{{schemeInfo.executionIndex}}</text>
	                        <text class="data-v-3c59eb11" style="font-size:42rpx;color:#1a1a1a;font-weight:bold;">{{'/'+schemeInfo.executeNumber+'次'}}</text>
	                    </view>
	                    <view bindtap="__e" class="name_wrap data-v-3c59eb11" data-event-opts="{{[ [ 'tap',[ [ 'goTrainSchemeDetail',['$0'],['schemeInfo'] ] ] ] ]}}">
	                        <text class="scheme_name data-v-3c59eb11">{{schemeInfo.schemeName}}</text>
	                        <image mode class="arrow_right_img data-v-3c59eb11" src="{{imgUrl.arrow_right_2}}"></image>
	                    </view>
	                </view>
	            </view>
	            <view class="body_cotent data-v-3c59eb11">
	                <uni-card bind:__l="__l" class="training_results data-v-3c59eb11" extra="{{schemeInfo.startTime}}" isShadow="{{false}}" title="训练成绩" vueId="4ee3f815-1" vueSlots="{{['default']}}">
	                    <view class="tag data-v-3c59eb11">
	                        <text class="value BebasNeueBold data-v-3c59eb11">{{schemeInfo.costTime}}</text>
	                        <text class="key data-v-3c59eb11">用时</text>
	                    </view>
	                    <view class="tag data-v-3c59eb11">
	                        <text class="value BebasNeueBold data-v-3c59eb11">-</text>
	                        <text class="key data-v-3c59eb11">千卡</text>
	                    </view>
	                    <view class="tag data-v-3c59eb11">
	                        <text class="value BebasNeueBold data-v-3c59eb11">{{schemeInfo.completeRate}}</text>
	                        <text class="key data-v-3c59eb11">完成率</text>
	                    </view>
	                </uni-card>
	                <uni-card bind:__l="__l" class="action_completed data-v-3c59eb11" isShadow="{{false}}" title="动作完成" vueId="4ee3f815-2" vueSlots="{{['default']}}">
	                    <view class="list-item BebasNeueRegular data-v-3c59eb11" wx:for="{{sportList}}" wx:for-index="__i0__" wx:key="sportName">
	                        <view class="sportway data-v-3c59eb11">
	                            <text class="data-v-3c59eb11">{{item.sportName}}</text>
	                            <image mode class="sportway_complete_img data-v-3c59eb11" src="{{imgUrl.icon_complete}}" wx:if="{{item.showCompleteImg}}"></image>
	                            <text class="sportway_value data-v-3c59eb11" wx:else>{{item.sportValue}}</text>
	                        </view>
	                        <block wx:if="{{item.children&&item.children.length}}" wx:for="{{item.children}}" wx:for-index="__i1__" wx:for-item="cItem" wx:key="sportName">
	                            <view class="sub_sportway data-v-3c59eb11">
	                                <text class="dot data-v-3c59eb11">{{cItem.sportName}}</text>
	                                <text class="data-v-3c59eb11">{{cItem.sportValue}}</text>
	                            </view>
	                            <view class="sub_sub_sportway data-v-3c59eb11" wx:if="{{cItem.children&&cItem.children.length}}" wx:for="{{cItem.children}}" wx:for-index="__i2__" wx:for-item="ccItem" wx:key="sportName">
	                                <text class="dot data-v-3c59eb11">{{ccItem.sportName}}</text>
	                                <text class="data-v-3c59eb11">{{ccItem.sportValue}}</text>
	                            </view>
	                        </block>
	                    </view>
	                </uni-card>
	            </view>
	        </view>
	    </view>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style>
	
</style>
